package com.gwclh.personnel.vo.transfervo;

import com.gwclh.personnel.entity.DeptTransfer;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@Accessors(chain = true)
@Api("部门调转")
public class DeptTransFerVo extends DeptTransfer {
    @ApiModelProperty("员工姓名")
    String empName;
    @ApiModelProperty("原部门")
    String preDeptName;
    @ApiModelProperty("当前部门")
    String newDeptName;
    @ApiModelProperty("操作人姓名")
    String operName;

    @ApiModelProperty(value = "查询开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;

    @ApiModelProperty(value = "查询结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
}
